package com.sxbbc.common.core.entity.jz;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaoky
 * @since 2019-06-01
 */
public class CTempWx implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 微信昵称
     */
    private String nickName;

    /**
     * 微信用户头像
     */
    private String headUrl;

    private String unionid;

    /**
     * 小程序或公众号获取的openid
     */
    private String openid;

    /**
     * 性别，值为1时是男性，值为2时是女性，值为0时是未知
     */
    private Integer sex;

    /**
     * 公众号信息字段,是否关注 1已关注
     */
    private Integer subscribe;

    /**
     * 关注时间
     */
    private Date subscribeTime;

    /**
     * 公众号获取的国家
     */
    private String country;

    /**
     * 公众号获取的省份
     */
    private String province;

    /**
     * 公众号获取的城市
     */
    private String city;

    /**
     * 保存的数据类型 公众号  2  小程序 5
     */
    private Integer channel;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }
    public String getHeadUrl() {
        return headUrl;
    }

    public void setHeadUrl(String headUrl) {
        this.headUrl = headUrl;
    }
    public String getUnionid() {
        return unionid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }
    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }
    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }
    public Integer getSubscribe() {
        return subscribe;
    }

    public void setSubscribe(Integer subscribe) {
        this.subscribe = subscribe;
    }
    public Date getSubscribeTime() {
        return subscribeTime;
    }

    public void setSubscribeTime(Date subscribeTime) {
        this.subscribeTime = subscribeTime;
    }
    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }
    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }
    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }
    public Integer getChannel() {
        return channel;
    }

    public void setChannel(Integer channel) {
        this.channel = channel;
    }

    @Override
    public String toString() {
        return "CTempWx{" +
        "id=" + id +
        ", nickName=" + nickName +
        ", headUrl=" + headUrl +
        ", unionid=" + unionid +
        ", openid=" + openid +
        ", sex=" + sex +
        ", subscribe=" + subscribe +
        ", subscribeTime=" + subscribeTime +
        ", country=" + country +
        ", province=" + province +
        ", city=" + city +
        ", channel=" + channel +
        "}";
    }
}
